package basic

// GenericCmdable
const (
	Del = iota
	Dump
	Exists
	Expire
	ExpireAt
	ExpireTime
	ExpireNX
	ExpireXX
	ExpireGT
	ExpireLT
	Keys
	Migrate
	Move
	ObjectFreq
	ObjectRefCount
	ObjectEncoding
	ObjectIdleTime
	Persist
	PExpire
	PExpireAt
	PExpireTime
	PTTL
	RandomKey
	Rename
	RenameNX
	Restore
	RestoreReplace
	Sort
	SortRO
	SortStore
	SortInterfaces
	Touch
	TTL
	Type
	Copy

	Scan
	ScanType
)

const (
	SAdd = iota
	SCard
	SDiff
	SDiffStore
	SInter
	SInterCard
	SInterStore
	SIsMember
	SMIsMember
	SMembers
	SMembersMap
	SMove
	SPop
	SPopN
	SRandMember
	SRandMemberN
	SRem
	SScan
	SUnion
	SUnionStore
)

const (
	BLPop = iota
	BLMPop
	BRPop
	BRPopLPush
	LIndex
	LInsert
	LInsertBefore
	LInsertAfter
	LLen
	LMPop
	LPop
	LPopCount
	LPos
	LPosCount
	LPush
	LPushX
	LRange
	LRem
	LSet
	LTrim
	RPop
	RPopCount
	RPopLPush
	RPush
	RPushX
	LMove
	BLMove
)

const (
	BZPopMax = iota
	BZPopMin
	BZMPop
	ZAdd
	ZAddArgs
	ZAddArgsIncr
	ZCard
	ZCount
	ZLexCount
	ZIncrBy
	ZInter
	ZInterWithScores
	ZInterCard
	ZInterStore
	ZMPop
	ZMScore
	ZPopMax
	ZPopMin
	ZRange
	ZRangeWithScores
	ZRangeByScore
	ZRangeByLex
	ZRangeByScoreWithScores
	ZRangeArgs
	ZRangeArgsWithScores
	ZRangeStore
	ZRank
	ZRankWithScore
	ZRem
	ZRemRangeByRank
	ZRemRangeByScore
	ZRemRangeByLex
	ZRevRange
	ZRevRangeWithScores
	ZRevRangeByScore
	ZRevRangeByLex
	ZRevRangeByScoreWithScores
	ZRevRank
	ZRevRankWithScore
	ZScore
	ZUnionStore
	ZRandMember
	ZRandMemberWithScores
	ZUnion
	ZUnionWithScores
	ZDiff
	ZDiffWithScores
	ZDiffStore
	ZScan
)

// ProbabilisticCmdable
const (
	BFAdd = iota
	BFCard
	BFExists
	BFInfo
	BFInfoArg
	BFInfoCapacity
	BFInfoSize
	BFInfoFilters
	BFInfoItems
	BFInfoExpansion
	BFInsert
	BFMAdd
	BFMExists
	BFReserve
	BFReserveExpansion
	BFReserveNonScaling
	BFReserveWithArgs
	BFScanDump
	BFLoadChunk

	CFAdd
	CFAddNX
	CFCount
	CFDel
	CFExists
	CFInfo
	CFInsert
	CFInsertNX
	CFMExists
	CFReserve
	CFReserveWithArgs
	CFReserveExpansion
	CFReserveBucketSize
	CFReserveMaxIterations
	CFScanDump
	CFLoadChunk

	CMSIncrBy
	CMSInfo
	CMSInitByDim
	CMSInitByProb
	CMSMerge
	CMSMergeWithWeight
	CMSQuery

	TopKAdd
	TopKCount
	TopKIncrBy
	TopKInfo
	TopKList
	TopKListWithCount
	TopKQuery
	TopKReserve
	TopKReserveWithOptions

	TDigestAdd
	TDigestByRank
	TDigestByRevRank
	TDigestCDF
	TDigestCreate
	TDigestCreateWithCompression
	TDigestInfo
	TDigestMax
	TDigestMin
	TDigestMerge
	TDigestQuantile
	TDigestRank
	TDigestReset
	TDigestRevRank
	TDigestTrimmedMean
)

const (
	GeoAdd = iota
	GeoPos
	GeoRadius
	GeoRadiusStore
	GeoRadiusByMember
	GeoRadiusByMemberStore
	GeoSearch
	GeoSearchLocation
	GeoSearchStore
	GeoDist
	GeoHash
)

const (
	XAdd = iota
	XDel
	XLen
	XRange
	XRangeN
	XRevRange
	XRevRangeN
	XRead
	XReadStreams
	XGroupCreate
	XGroupCreateMkStream
	XGroupSetID
	XGroupDestroy
	XGroupCreateConsumer
	XGroupDelConsumer
	XReadGroup
	XAck
	XPending
	XPendingExt
	XClaim
	XClaimJustID
	XAutoClaim
	XAutoClaimJustID
	XTrimMaxLen
	XTrimMaxLenApprox
	XTrimMinID
	XTrimMinIDApprox
	XInfoGroups
	XInfoStream
	XInfoStreamFull
	XInfoConsumers
)
